<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<div id="table_content">
    <table>
        <tbody>
        <thead>
        <th>Name</th>
        <th>BMS ID</th>
        </thead>
       <s:iterator value="users" var="users">
            <tr>
                <s:hidden id="a" value="%{id}"> </s:hidden>
                <th><s:a href="#" onclick="closeWindows('%{surname}, %{name} ','%{id}')" theme="simple" > <s:property value="surname"/>, <s:property value="name"/>  </s:a> </th>
                <th><s:a href="#" onclick="closeWindows('%{surname}, %{name} ','%{id}')" theme="simple" > <s:property value="bmsId"/></s:a> </th>
            </tr>
        </s:iterator>
        <tbody>
    </table>
</div>